package com.luo.demo;

import com.luo.aspect.MyService;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

@Service
//@Lazy
public class DemoService {

	public MyService myService;



	public void setMyService(MyService myService) {
		this.myService = myService;
	}

	public DemoService() {
		System.out.println("DemoService#constructor");
	}

	public void demo(){
		System.out.println("demo11");
	}
}
